package org.water.sys.entity;
// Generated 2016-3-4 13:17:55 by Hibernate Tools 3.2.2.GA

import java.util.Date;

import javax.persistence.Cacheable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.water.base.entity.IdEntity;

/**
 * 
 * @author qzy
 *
 */
@Cacheable
@Entity
@Table(name="sys_role")
public class SysRole extends IdEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 8145121594299556287L;
	@Column(name="role_name")
	private String roleName;
	@Column(name="remark",nullable=true)
	private String remark;

	/** 
	 * 创建人.
	 */
	@Column(name="create_user",nullable=true)
	private String createUser;

	/** 
	 * 创建时间.
	 */
	@Column(name="create_date",nullable=true)
	private Date createDate;

	public SysRole() {
	}

	public String getRoleName() {
		return this.roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getCreateUser() {
		return this.createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

}
